package com.ruoyi.task;

import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.kuser;
import com.ruoyi.system.service.IkuserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 定时任务调度测试
 * 
 * @author ruoyi
 */
@Component("fdTask")
public class FdTask
{

@Autowired
private IkuserService daylogService;
    public void getDayloginfo()
    {
        kuser kuser = daylogService.selectkuserById(10L);
        System.out.println(new Date()+"打印教师信息"+kuser);
    }
}
